home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 534.swf / scripts / frame_84 / DoAction.as
Text File  |  2006-01-17  |  5KB  |  139 lines

  1. if(result eq 19)
  2. {
  3.    numNineteen = new Array(14);
  4.    numNineteen[0] = _root.coin_t70.positionValue;
  5.    numNineteen[1] = _root.coin_t71.positionValue;
  6.    numNineteen[2] = _root.coin_t72.positionValue;
  7.    numNineteen[3] = _root.coin_t76.positionValue;
  8.    numNineteen[4] = _root.coin_t77.positionValue;
  9.    numNineteen[5] = _root.coin_t78.positionValue;
  10.    numNineteen[6] = _root.coin_t82.positionValue;
  11.    numNineteen[7] = _root.coin_t83.positionValue;
  12.    numNineteen[8] = _root.coin_t84.positionValue;
  13.    numNineteen[9] = _root.coin_t142.positionValue;
  14.    numNineteen[10] = _root.coin_t146.positionValue;
  15.    numNineteen[11] = _root.coin_t150.positionValue;
  16.    numNineteen[12] = _root.coin_t152.positionValue;
  17.    numNineteen[13] = _root.coin_t153.positionValue;
  18.    i = 0;
  19.    while(i < 14)
  20.    {
  21.       credit += numNineteen[i];
  22.       i++;
  23.    }
  24. }
  25. if(result eq 20)
  26. {
  27.    numTwenty = new Array(14);
  28.    numTwenty[0] = _root.coin_t72.positionValue;
  29.    numTwenty[1] = _root.coin_t73.positionValue;
  30.    numTwenty[2] = _root.coin_t74.positionValue;
  31.    numTwenty[3] = _root.coin_t78.positionValue;
  32.    numTwenty[4] = _root.coin_t79.positionValue;
  33.    numTwenty[5] = _root.coin_t80.positionValue;
  34.    numTwenty[6] = _root.coin_t84.positionValue;
  35.    numTwenty[7] = _root.coin_t85.positionValue;
  36.    numTwenty[8] = _root.coin_t86.positionValue;
  37.    numTwenty[9] = _root.coin_t143.positionValue;
  38.    numTwenty[10] = _root.coin_t146.positionValue;
  39.    numTwenty[11] = _root.coin_t149.positionValue;
  40.    numTwenty[12] = _root.coin_t151.positionValue;
  41.    numTwenty[13] = _root.coin_t153.positionValue;
  42.    i = 0;
  43.    while(i < 14)
  44.    {
  45.       credit += numTwenty[i];
  46.       i++;
  47.    }
  48. }
  49. if(result eq 21)
  50. {
  51.    numTwentyOne = new Array(11);
  52.    numTwentyOne[0] = _root.coin_t74.positionValue;
  53.    numTwentyOne[1] = _root.coin_t75.positionValue;
  54.    numTwentyOne[2] = _root.coin_t80.positionValue;
  55.    numTwentyOne[3] = _root.coin_t81.positionValue;
  56.    numTwentyOne[4] = _root.coin_t86.positionValue;
  57.    numTwentyOne[5] = _root.coin_t87.positionValue;
  58.    numTwentyOne[6] = _root.coin_t144.positionValue;
  59.    numTwentyOne[7] = _root.coin_t146.positionValue;
  60.    numTwentyOne[8] = _root.coin_t150.positionValue;
  61.    numTwentyOne[9] = _root.coin_t152.positionValue;
  62.    numTwentyOne[10] = _root.coin_t153.positionValue;
  63.    i = 0;
  64.    while(i < 11)
  65.    {
  66.       credit += numTwentyOne[i];
  67.       i++;
  68.    }
  69. }
  70. if(result eq 22)
  71. {
  72.    numTwentyTwo = new Array(14);
  73.    numTwentyTwo[0] = _root.coin_t82.positionValue;
  74.    numTwentyTwo[1] = _root.coin_t83.positionValue;
  75.    numTwentyTwo[2] = _root.coin_t84.positionValue;
  76.    numTwentyTwo[3] = _root.coin_t88.positionValue;
  77.    numTwentyTwo[4] = _root.coin_t89.positionValue;
  78.    numTwentyTwo[5] = _root.coin_t90.positionValue;
  79.    numTwentyTwo[6] = _root.coin_t94.positionValue;
  80.    numTwentyTwo[7] = _root.coin_t95.positionValue;
  81.    numTwentyTwo[8] = _root.coin_t96.positionValue;
  82.    numTwentyTwo[9] = _root.coin_t142.positionValue;
  83.    numTwentyTwo[10] = _root.coin_t146.positionValue;
  84.    numTwentyTwo[11] = _root.coin_t149.positionValue;
  85.    numTwentyTwo[12] = _root.coin_t151.positionValue;
  86.    numTwentyTwo[13] = _root.coin_t153.positionValue;
  87.    i = 0;
  88.    while(i < 14)
  89.    {
  90.       credit += numTwentyTwo[i];
  91.       i++;
  92.    }
  93. }
  94. if(result eq 23)
  95. {
  96.    numTwentyThree = new Array(14);
  97.    numTwentyThree[0] = _root.coin_t84.positionValue;
  98.    numTwentyThree[1] = _root.coin_t85.positionValue;
  99.    numTwentyThree[2] = _root.coin_t86.positionValue;
  100.    numTwentyThree[3] = _root.coin_t90.positionValue;
  101.    numTwentyThree[4] = _root.coin_t91.positionValue;
  102.    numTwentyThree[5] = _root.coin_t92.positionValue;
  103.    numTwentyThree[6] = _root.coin_t96.positionValue;
  104.    numTwentyThree[7] = _root.coin_t97.positionValue;
  105.    numTwentyThree[8] = _root.coin_t98.positionValue;
  106.    numTwentyThree[9] = _root.coin_t143.positionValue;
  107.    numTwentyThree[10] = _root.coin_t146.positionValue;
  108.    numTwentyThree[11] = _root.coin_t150.positionValue;
  109.    numTwentyThree[12] = _root.coin_t152.positionValue;
  110.    numTwentyThree[13] = _root.coin_t153.positionValue;
  111.    i = 0;
  112.    while(i < 14)
  113.    {
  114.       credit += numTwentyThree[i];
  115.       i++;
  116.    }
  117. }
  118. if(result eq 24)
  119. {
  120.    numTwentyFour = new Array(11);
  121.    numTwentyFour[0] = _root.coin_t86.positionValue;
  122.    numTwentyFour[1] = _root.coin_t87.positionValue;
  123.    numTwentyFour[2] = _root.coin_t92.positionValue;
  124.    numTwentyFour[3] = _root.coin_t93.positionValue;
  125.    numTwentyFour[4] = _root.coin_t98.positionValue;
  126.    numTwentyFour[5] = _root.coin_t99.positionValue;
  127.    numTwentyFour[6] = _root.coin_t144.positionValue;
  128.    numTwentyFour[7] = _root.coin_t146.positionValue;
  129.    numTwentyFour[8] = _root.coin_t149.positionValue;
  130.    numTwentyFour[9] = _root.coin_t151.positionValue;
  131.    numTwentyFour[10] = _root.coin_t153.positionValue;
  132.    i = 0;
  133.    while(i < 11)
  134.    {
  135.       credit += numTwentyFour[i];
  136.       i++;
  137.    }
  138. }
  139.